x <- c("java", "golang", "R")

if ("golang" %in% x) {
  print("golang exsit")
} else {
    print("golang doesn't exist")
}

xx <- switch(2, "golang", "python", "java")
print(xx)